package xml;

public class WordLemmatiser {
	
	/**
	 * A null constructor
	 */
	public WordLemmatiser() {}
	
	/**
	 * @param word - the word that we want to lemmatize
	 * @return the lemmatized word
	 */
	public static String lemmatize(String word) { // simple lemmatization at 7 characters
		int size = word.length();
		if (size > 7) {
			word = word.substring(0, 7);
		}
		return word;
	}

}
